/*
package com.cloud.base.controller;

import com.cloud.api.constants.StrVo;
import com.cloud.base.domain.dto.SysDeptDto;
import com.cloud.base.domain.sys.RoleDeptRequest;
import com.cloud.base.service.IRoleDeptService;
import com.cloud.core.util.R;
import com.cloud.log.annotation.Log;
import com.cloud.log.enums.BusinessType;
import com.cloud.log.enums.OperatorType;
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import jakarta.validation.Valid;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

*/
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author haohaibo
 * @since 2024-10-14
 *//*

@Tag(name = "角色模块")
@ApiSupport(order = 202)
@RestController
@RequestMapping("/role-dept")
public class RoleDeptController {

    @Resource
    private IRoleDeptService roleDeptService;

    @Operation(summary = "查询自定义权限")
    @PostMapping("/getRoleDept")
    @Log(title = "角色模块-查询自定义权限", businessType = BusinessType.OTHER, operatorType = OperatorType.MANAGE)
    public R<SysDeptDto> selectRoleDept(@RequestBody @Valid StrVo para) {
        return R.ok(roleDeptService.selectRoleDept(para));
    }

    @Operation(summary = "修改自定义权限")
    @PostMapping("/InsertOrUpdate")
    @Log(title = "角色模块-修改自定义权限", businessType = BusinessType.UPDATE, operatorType = OperatorType.MANAGE)
    public R InsertOrUpdate(@RequestBody @Valid RoleDeptRequest para) {
        roleDeptService.InsertOrUpdate(para);
        return R.ok();
    }
}
*/
